Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Dec 15, 2025

Bumps mocha from 2.7.1 to 3.0.0.

Changelog

Sourced from mocha's changelog.

3.0.0

External changes

  • Improvements to docs for cardinality-related methods (#700)
  • Drop support for Ruby v2.1 (#628 & #695)
  • Improve gemspec description (#692 & #696)
  • Remove docs for use_test_unit_gem option (eaf03493)
  • Correct docs for MOCHA_OPTIONS "debug" value (69ef41c0)
  • Use built-in Ruby debug option vs custom module (#714 & #715)
  • Enable strict keyword argument matching by default in Ruby >= v3 (#697 & #718)
  • Use Ruby v1.9 Hash syntax in Hash#mocha_inspect used in failure messages (#651 & #719)
  • Improve #mocha_inspect for empty keyword argument Hash (#588 & #720) - thanks to @​herwinw for reporting
  • Improve error if Mockery.teardown called before Mockery.setup (#611, #646 & #721) - thanks to @​riniculous for reporting
  • Freeze string literals (#722)
  • Allow keyword arguments to match an expectation expecting only positional arguments (#593 & #732) - thanks to @​seandilda for reporting
  • Fix compatibility with Ruby 3.5 (#755) - thanks to @​Earlopain
  • Add missing quotes to docs for Mocha::ParameterMatchers::Methods#equivalent_uri (#757) - thanks to @​bensherman
  • Increment assertion count on never expected invocation (#763 & #764)
  • Remove deprecated ParameterMatchers::Base class; include ParameterMatchers::BaseMethods module instead (415ae768)
  • Remove deprecated ParameterMatcher methods now available in ParameterMatcher::Methods (8de49979)
  • Removed deprecated access to ParameterMatcher classes (6ea9e3f5)

Internal changes

  • Add Expectation#thrice (#701) - thanks to @​andrewn617
  • Add base64 to Gemfile for Ruby >= v3.3.0 to avoid warning (8c49314c & a76330d6)
  • Include custom Gemfiles in Rubocop linting (04063f0d)
  • Use ruby:3.4.0-rc1 vs ruby:3.4.0-preview2 in CI in preparation for the Ruby v3.4 release (b2127407)
  • Add ostruct to Gemfile for Ruby >= v3.4.0 to avoid warning (2b05e09e)
  • Add Ruby v3.4 to CI build matrix (#708)
  • Fix Ruby v3.4 warnings in ObjectInspectTest (#709 & #710)
  • Rubocop-related improvements (#702 & #705)
  • Consistently use development group in Gemfiles (#706 & #716)
  • Add missing requires for 'mocha/ruby_version' (7f99db69)
  • Convert ParameterMatchers::Base class -> module (#712 & #723)
  • Enable ExpectMatchingDefinition option on Naming/FileName cop (#726)
  • Remove duplicate DefaultReceiverTest (39d99954)
  • Improvements to keyword argument matching tests (#730)
  • Improvements to keyword argument matcher unit test (#731)
  • Remove support for running tests with Minitest < v5 (#727)
  • Remove workaround for JRuby jar-dependencies issue (#737)
  • Add benchmark to Gemfile to fix warning (#733 & #740) - thanks to @​nitishr
  • Add documentation coverage check (#707, #743 & #745) - thanks to @​nitishr
  • Fix Lint/LiteralAsCondition violation (#746) - thanks to @​nitishr
  • Fix rdoc-related warning when running doc rake task (#741 & #747)
  • Fail fast in CI builds on any Ruby warnings (#729 & #741) - thanks to @​nitishr
  • Add ObjectMethods#stubba_respond_to? and use instead of Object#respond_to? (#713, #742 & #750) - thanks to @​nitishr
  • Rename #stubbee -> #stubba_object and #mock_owner -> #stubbee (#463 & #751) - thanks to @​nitishr

... (truncated)

Commits
  • 16a380b [skip ci] Update documentation for v3.0.0
  • b035b36 Bump version to 3.0.0 & prepare for release
  • b4310b8 [skip ci] Update documentation for v3.0.0-rc.2
  • 31e433a Bump version to 3.0.0-rc.2 & prepare for release
  • 812fb65 Fix Naming/FileName violation for BaseMethods
  • 1c0fcab No default arg for Hooks#mocha_setup
  • a461609 No default arg for Mockery.setup
  • 207384d No default arg for Mockery#initialize
  • 2e8cfe5 Extract build_mockery method in MockeryTest
  • d850fc5 No default assertion_counter for Mock#initialize
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [mocha](https://github.com/freerange/mocha) from 2.7.1 to 3.0.0.
- [Changelog](https://github.com/freerange/mocha/blob/main/RELEASE.md)
- [Commits](freerange/mocha@v2.7.1...v3.0.0)

---
updated-dependencies:
- dependency-name: mocha
  dependency-version: 3.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file ruby Pull requests that update ruby code labels Dec 15, 2025
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Dec 17, 2025

Superseded by #78.

@dependabot dependabot bot closed this Dec 17, 2025
@dependabot dependabot bot deleted the dependabot/bundler/mocha-3.0.0 branch December 17, 2025 23:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file ruby Pull requests that update ruby code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants